-- background: 2124 from stack: in -- bmap block id: 2464 -- flags: 0000 -- background id: 0 -- name: Chapter Heading ----- HyperTalk script ----- on closeCard set the locktext of fld text to true global refsTemp put empty into refsTemp if visible of bg fld "Ref" is true then cleaRef if visible of bg fld "Refs" is true then hide bg fld "Refs" if visible of bg fld "Locs" is true then hide bg fld "Locs" if script of bg fld "Text" contains "-" then set script of bg fld "Text" to "on mouseUp" &return &"textClick" &return &"end mouseUp" end if if visible of bg btn "RefIndex" is true then hide bg btn "RefIndex" end closeCard on openCard global refsTemp put bg fld "Refs" into refsTemp pass openCard end openCard -- part 18 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=471 top=15 right=49 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 25868 / 25868 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Cont -- part 2 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=471 top=63 right=97 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 28845 / 28845 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: FindBtn -- part 14 (field) -- low flags: 01 -- high flags: 2000 -- rect: left=12 top=56 right=342 bottom=450 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 216 -- text size: 12 -- style flags: 0 -- line height: 14 -- part name: Text ----- HyperTalk script ----- on mouseUp textClick end mouseUp -- part 13 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=151 top=42 right=61 bottom=300 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 216 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Title -- part 15 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=17 top=61 right=94 bottom=45 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 215 -- text size: 24 -- style flags: 0 -- line height: 32 -- part name: InitLetter -- part 21 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=471 top=110 right=144 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 28841 / 28841 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: RandomCard -- part 23 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=10 top=32 right=44 bottom=49 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 128 -- text size: 5 -- style flags: 0 -- line height: 7 -- part name: PageNo -- part 29 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=471 top=157 right=191 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 28843 / 28843 -- text alignment: 1 -- font id: 216 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: BookMark -- part 33 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=471 top=204 right=238 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 27601 / 27601 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: PrintChapter -- part 31 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=471 top=252 right=286 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 22873 / 22873 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: GoHome -- part 32 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=471 top=300 right=334 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 12797 / 12797 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: GoJournal -- part 28 (button) -- low flags: 00 -- high flags: 4002 -- rect: left=45 top=5 right=22 bottom=76 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 200 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: U -- part 30 (field) -- low flags: 81 -- high flags: 0004 -- rect: left=101 top=15 right=36 bottom=354 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 216 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: Snippets -- part 34 (field) -- low flags: 81 -- high flags: 0004 -- rect: left=81 top=3 right=46 bottom=376 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 216 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: Ref -- part 40 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=420 top=23 right=56 bottom=450 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: DogEar ----- HyperTalk script ----- on mouseUp dogEar end mouseUp -- part 44 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=452 top=7 right=19 bottom=466 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: LastCard -- part 63 (field) -- low flags: 81 -- high flags: 0007 -- rect: left=77 top=0 right=32 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Refs -- part 64 (field) -- low flags: 81 -- high flags: 0007 -- rect: left=383 top=31 right=66 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Locs -- part 72 (button) -- low flags: 80 -- high flags: 2000 -- rect: left=471 top=15 right=49 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 28895 / 28895 -- text alignment: 1 -- font id: 216 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: RefIndex -- part 53 (button) -- low flags: 80 -- high flags: 2001 -- rect: left=471 top=62 right=96 bottom=507 -- title width / last selected line: 0 -- icon id / first selected line: 28821 / 28821 -- text alignment: 1 -- font id: 216 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: find Next ----- HyperTalk script ----- on mouseWithin global Y1,doFind if item 2 of mouseLoc() < (Y1 + 6) then do doFind wait 1 seconds end if end mouseWithin on mouseUp FNBtn end mouseUp